//
//  UIColor+AppTheme.m
//  Postre
//
//  Created by CoderLT on 2017/5/22.
//  Copyright © 2017年 CoderLT. All rights reserved.
//

#import "UIColor+AppTheme.h"

@implementation UIColor (AppTheme)
+ (instancetype)appColor {
    return [self colorWithRGB:0xfc435b];
}
+ (instancetype)appColorDisable {
    return [self colorWithRGB:0xe9979e];
}
+ (instancetype)appColorHighlightd {
    return [self colorWithRGB:0xC44752];
}

// tabbar
+ (instancetype)appTabBgColor {
    return [self colorWithRGB:0xFFFFFF alpha:0.98f];
}
+ (instancetype)appTabTitleColor {
    return [self colorWithRGB:0x666666];
}
+ (instancetype)appTabTitleHLColor {
    return [self colorWithRGB:0x666666];
}
+ (instancetype)appTabSepLineColor {
    return [self colorWithRGB:0xBBBBBB alpha:0.98f];
}

// 导航栏
+ (instancetype)appNavTitleColor {
    return [self colorWithRGB:0x000000];
}
+ (instancetype)appNavTitleDisableColor {
    return [self colorWithRGB:0xDDDDDD];
}
+ (instancetype)appNavTitleHLColor {
    return [self colorWithRGB:0x000000 alpha:0.7f];
}
+ (instancetype)appNavItemTitleColor {
    return [UIColor appColor];
}
+ (instancetype)appNavItemTitleDisableColor {
    return [UIColor appColorDisable];
}
+ (instancetype)appNavItemTitleHLColor {
    return [[self appNavItemTitleColor] colorWithAlphaComponent:0.7f];
}
+ (instancetype)appNavBgColor {
    return [self colorWithRGB:0xFFFFFF alpha:0.98f];
}
+ (instancetype)appNavSepLineColor {
    return [self colorWithRGB:0xBBBBBB alpha:0.98f];
}

// 页面颜色
+ (instancetype)appBackgroundColor {
    return [self colorWithRGB:0xFAFAFA];
}
+ (instancetype)appTableViewBackgroundColor {
    return [self colorWithRGB:0xFAFAFA];
}
+ (instancetype)appCollectionBackgroundColor {
    return [self colorWithRGB:0xFAFAFA];
}
+ (instancetype)appWebBackgroundColor {
    return [self colorWithRGB:0xFEFEFE];
}
+ (instancetype)appLineColor {
    return [self colorWithRGB:0xE9E9E9];
}
+ (instancetype)appTitleColor {
    return [self colorWithRGB:0x333333];
}
+ (instancetype)appSubTitleColor {
    return [self colorWithRGB:0x666666];
}
+ (instancetype)appDescColor {
    return [self colorWithRGB:0x999999];
}
+ (instancetype)appUnreadColor {
    return [self colorWithRGB:0xF6C727];
}

+ (instancetype)appLiveIconColor {
    return [self colorWithRGB:0x12FF01];
}
+ (instancetype)appRedColor {
    return [self colorWithRGB:0xED5641];
}
@end
